package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 楼栋核酸对象 h_ucleictask
 * 
 * @author ruoyi
 * @date 2023-01-23
 */
public class Ucleictask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 小区id */
    @Excel(name = "小区id")
    private Long communityId;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private Long ridgepoleId;

    /** 任务名 */
    @Excel(name = "任务名")
    private String taskName;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 检测位置 */
    @Excel(name = "检测位置")
    private String detectionPosition;

    /** 任务人数 */
    @Excel(name = "任务人数")
    private Long taskPeople;

    /** 完成人数 */
    @Excel(name = "完成人数")
    private Long completePeople;
    private Long startRemind;
    private Long overRemind;

    public Long getStartRemind() {
        return startRemind;
    }

    public void setStartRemind(Long startRemind) {
        this.startRemind = startRemind;
    }

    public Long getOverRemind() {
        return overRemind;
    }

    public void setOverRemind(Long overRemind) {
        this.overRemind = overRemind;
    }

    private Community community;

    private Ridgepole ridgepole;

    public Community getCommunity() {
        return community;
    }

    public void setCommunity(Community community) {
        this.community = community;
    }

    public Ridgepole getRidgepole() {
        return ridgepole;
    }

    public void setRidgepole(Ridgepole ridgepole) {
        this.ridgepole = ridgepole;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setRidgepoleId(Long ridgepoleId) 
    {
        this.ridgepoleId = ridgepoleId;
    }

    public Long getRidgepoleId() 
    {
        return ridgepoleId;
    }
    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDetectionPosition(String detectionPosition) 
    {
        this.detectionPosition = detectionPosition;
    }

    public String getDetectionPosition() 
    {
        return detectionPosition;
    }
    public void setTaskPeople(Long taskPeople) 
    {
        this.taskPeople = taskPeople;
    }

    public Long getTaskPeople() 
    {
        return taskPeople;
    }
    public void setCompletePeople(Long completePeople) 
    {
        this.completePeople = completePeople;
    }

    public Long getCompletePeople() 
    {
        return completePeople;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("communityId", getCommunityId())
            .append("ridgepoleId", getRidgepoleId())
            .append("taskName", getTaskName())
            .append("status", getStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("detectionPosition", getDetectionPosition())
            .append("taskPeople", getTaskPeople())
            .append("completePeople", getCompletePeople())
            .toString();
    }
}
